package com.exigen.perflabstat.models;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="PERF_TESTSUMMARY_DATA")
public class TestSummaryData {

	@Id
	private Long TESTSUMMARY_ID;
	/*@OneToOne(fetch = FetchType.LAZY)
	@PrimaryKeyJoinColumn(name="TESTSUMMARY_ID")
	private TestSummary testSummary;*/
	private String DURATION;
	private Timestamp ENDTIME;
	private Integer MAX_VIRTUALUSERS;
	private Double THROUGHPUT_TOTAL;
	private Double THROUGHPUT_AVERAGE;
	private Double HITS_TOTAL;
	private Double HITS_AVERAGE_PER_SECOND;
	private Double HTTP_RESPONSE_PER_SECOND;
	private Double HTTP_RESPONSE_TOTAL;
	private Long PASS_TOTAL;
	private Long FAIL_TOTAL;
	private Long STOP_TOTAL;
	private Character OVERALSTATUS;
	private Character BASELINE;
	private String COMMENTS;
	
	/*private String PROJECT_NAME;
	private String SCENARIO_NAME;
	private String BRANCH_ID;
	private String STATE;

	private String BUILD_NUMBER;
	private String DURATION;
	private Timestamp STARTTIME;
	private Timestamp ENDTIME;
	private Integer MAX_VIRTUAL_USERS;
	private Double THROUGHPUT_TOTAL;
	private Double THROUGHPUT_AVERAGE;
	private Double HITS_TOTAL;
	private Double HITS_AVERAGE_PER_SECOND;
	private String HTTP_RESPONSE_NAME;
	private Double HTTP_RESPONSE_PER_SECOND;
	private Double HTTP_RESPONSE_TOTAL;
	private Integer PASS_TOTAL;
	private Integer FAIL_TOTAL;
	private Integer STOP_TOTAL;
	private Character OVERALSTATUS;
	private String COMMENTS;
	*/
	

	public Long getTESTSUMMARY_ID() {
		return TESTSUMMARY_ID;
	}
	public void setTESTSUMMARY_ID(Long tESTSUMMARY_ID) {
		TESTSUMMARY_ID = tESTSUMMARY_ID;
	}

	public Timestamp getENDTIME() {
		return ENDTIME;
	}
	public void setENDTIME(Timestamp eNDTIME) {
		ENDTIME = eNDTIME;
	}
	public Long getPASS_TOTAL() {
		return PASS_TOTAL;
	}
	public void setPASS_TOTAL(Long pASS_TOTAL) {
		PASS_TOTAL = pASS_TOTAL;
	}
	public Long getFAIL_TOTAL() {
		return FAIL_TOTAL;
	}
	public void setFAIL_TOTAL(Long fAIL_TOTAL) {
		FAIL_TOTAL = fAIL_TOTAL;
	}
	public Long getSTOP_TOTAL() {
		return STOP_TOTAL;
	}
	public void setSTOP_TOTAL(Long sTOP_TOTAL) {
		STOP_TOTAL = sTOP_TOTAL;
	}
	public Character getOVERALSTATUS() {
		return OVERALSTATUS;
	}
	public void setOVERALSTATUS(Character oVERALSTATUS) {
		OVERALSTATUS = oVERALSTATUS;
	}
	public Character getBASELINE() {
		return BASELINE;
	}
	public void setBASELINE(Character bASELINE) {
		BASELINE = bASELINE;
	}
	public String getCOMMENTS() {
		return COMMENTS;
	}
	public void setCOMMENTS(String cOMMENTS) {
		COMMENTS = cOMMENTS;
	}
	public Integer getMAX_VIRTUALUSERS() {
		return MAX_VIRTUALUSERS;
	}
	public void setMAX_VIRTUALUSERS(Integer mAX_VIRTUALUSERS) {
		MAX_VIRTUALUSERS = mAX_VIRTUALUSERS;
	}
	public String getDURATION() {
		return DURATION;
	}
	public void setDURATION(String dURATION) {
		DURATION = dURATION;
	}
	public Double getTHROUGHPUT_TOTAL() {
		return THROUGHPUT_TOTAL;
	}
	public void setTHROUGHPUT_TOTAL(Double tHROUGHPUT_TOTAL) {
		THROUGHPUT_TOTAL = (double)Math.round(tHROUGHPUT_TOTAL*1000)/1000;
	}
	public Double getTHROUGHPUT_AVERAGE() {
		return THROUGHPUT_AVERAGE;
	}
	public void setTHROUGHPUT_AVERAGE(Double tHROUGHPUT_AVERAGE) {
		THROUGHPUT_AVERAGE = (double)Math.round(tHROUGHPUT_AVERAGE*1000)/1000;
	}
	public Double getHITS_TOTAL() {
		return HITS_TOTAL;
	}
	public void setHITS_TOTAL(Double hITS_TOTAL) {
		HITS_TOTAL = (double)Math.round(hITS_TOTAL*1000)/1000;
	}
	public Double getHITS_AVERAGE_PER_SECOND() {
		return HITS_AVERAGE_PER_SECOND;
	}
	public void setHITS_AVERAGE_PER_SECOND(Double hITS_AVERAGE_PER_SECOND) {
		HITS_AVERAGE_PER_SECOND = (double)Math.round(hITS_AVERAGE_PER_SECOND*1000)/1000;
	}
	public Double getHTTP_RESPONSE_PER_SECOND() {
		return HTTP_RESPONSE_PER_SECOND;
	}
	public void setHTTP_RESPONSE_PER_SECOND(Double hTTP_RESPONSE_PER_SECOND) {
		HTTP_RESPONSE_PER_SECOND = (double)Math.round(hTTP_RESPONSE_PER_SECOND*1000)/1000;
	}
	public Double getHTTP_RESPONSE_TOTAL() {
		return HTTP_RESPONSE_TOTAL;
	}
	public void setHTTP_RESPONSE_TOTAL(Double hTTP_RESPONSE_TOTAL) {
		HTTP_RESPONSE_TOTAL = (double)Math.round(hTTP_RESPONSE_TOTAL*1000)/1000;
	}
	
	
}
